package com.qeegoo.b2bautozityp.moudle.detail.bean;

import java.util.List;

/**
 * Created by HongQian.Wang on 2017/10/20.
 */



public  class WareHouseBean {

    /**
     * status : {"code":"0000","msg":"成功"}
     * data : [{"id":10001,"name":"hh","address":"3","contactName":"hh","contactPhone":"231232","areaName":"山西大同矿区"},{"id":10016,"name":"213","address":"321","contactName":"123","contactPhone":"123","areaName":"北京北京市东城"},{"id":10020,"name":"321","address":"1","contactName":"213","contactPhone":"213","areaName":"北京北京市东城"},{"id":10021,"name":"213","address":"33","contactName":"3123","contactPhone":"123","areaName":"钓鱼岛东区"},{"id":10022,"name":"杨-test","address":"1113123","contactName":"杨","contactPhone":"15236666612","areaName":"钓鱼岛南边3"},{"id":10025,"name":"杨-test辽宁","address":"aaaa","contactName":"杨彦祖","contactPhone":"15236660612","areaName":"辽宁沈阳和平区"},{"id":110144,"name":"测试仓库","address":"测试仓库","contactName":"15000000000","contactPhone":"15000000000","areaName":"北京北京市东城"},{"id":110157,"name":"测试","address":"123123","contactName":"1231","contactPhone":"1231","areaName":"江苏徐州九里区"}]
     */

    private StatusBean status;
    private List<DataBean> data;

    public StatusBean getStatus() {
        return status;
    }

    public void setStatus(StatusBean status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class StatusBean {
        /**
         * code : 0000
         * msg : 成功
         */

        private String code;
        private String msg;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public boolean isSuccess() {
            return code.equals("0000");
        }
    }

    public static class DataBean {
        /**
         * id : 10001
         * name : hh
         * address : 3
         * contactName : hh
         * contactPhone : 231232
         * areaName : 山西大同矿区
         */

        private int id;
        private String name;
        private String address;
        private String contactName;
        private String contactPhone;
        private String areaName;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getContactName() {
            return contactName;
        }

        public void setContactName(String contactName) {
            this.contactName = contactName;
        }

        public String getContactPhone() {
            return contactPhone;
        }

        public void setContactPhone(String contactPhone) {
            this.contactPhone = contactPhone;
        }

        public String getAreaName() {
            return areaName;
        }

        public void setAreaName(String areaName) {
            this.areaName = areaName;
        }
    }
}

